package com.manage.project.biz.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.manage.project.biz.mapper.BizTongfengyanghuMapper;
import com.manage.project.biz.domain.BizTongfengyanghu;
import com.manage.project.biz.service.IBizTongfengyanghuService;

/**
 * 通风设施清洁维护Service业务层处理
 * 
 * @author liang
 * @date 2022-06-02
 */
@Service
public class BizTongfengyanghuServiceImpl implements IBizTongfengyanghuService 
{
    @Autowired
    private BizTongfengyanghuMapper bizTongfengyanghuMapper;

    /**
     * 查询通风设施清洁维护
     * 
     * @param id 通风设施清洁维护主键
     * @return 通风设施清洁维护
     */
    @Override
    public BizTongfengyanghu selectBizTongfengyanghuById(Long id)
    {
        return bizTongfengyanghuMapper.selectBizTongfengyanghuById(id);
    }

    /**
     * 查询通风设施清洁维护列表
     * 
     * @param bizTongfengyanghu 通风设施清洁维护
     * @return 通风设施清洁维护
     */
    @Override
    public List<BizTongfengyanghu> selectBizTongfengyanghuList(BizTongfengyanghu bizTongfengyanghu)
    {
        return bizTongfengyanghuMapper.selectBizTongfengyanghuList(bizTongfengyanghu);
    }

    /**
     * 新增通风设施清洁维护
     * 
     * @param bizTongfengyanghu 通风设施清洁维护
     * @return 结果
     */
    @Override
    public int insertBizTongfengyanghu(BizTongfengyanghu bizTongfengyanghu)
    {
        return bizTongfengyanghuMapper.insertBizTongfengyanghu(bizTongfengyanghu);
    }

    /**
     * 修改通风设施清洁维护
     * 
     * @param bizTongfengyanghu 通风设施清洁维护
     * @return 结果
     */
    @Override
    public int updateBizTongfengyanghu(BizTongfengyanghu bizTongfengyanghu)
    {
        return bizTongfengyanghuMapper.updateBizTongfengyanghu(bizTongfengyanghu);
    }

    /**
     * 批量删除通风设施清洁维护
     * 
     * @param ids 需要删除的通风设施清洁维护主键
     * @return 结果
     */
    @Override
    public int deleteBizTongfengyanghuByIds(Long[] ids)
    {
        return bizTongfengyanghuMapper.deleteBizTongfengyanghuByIds(ids);
    }

    /**
     * 删除通风设施清洁维护信息
     * 
     * @param id 通风设施清洁维护主键
     * @return 结果
     */
    @Override
    public int deleteBizTongfengyanghuById(Long id)
    {
        return bizTongfengyanghuMapper.deleteBizTongfengyanghuById(id);
    }
}
